package cn.edu.sjtu.se.dslab.service;

import java.util.List;

import cn.edu.sjtu.se.dslab.component.data.EquipmentCategory;

public interface IEquipmentCategoryService {
	
	public boolean addEquipmentCategory(EquipmentCategory equipmentCategory);

	public boolean updateEquipmentCategory(EquipmentCategory equipmentCategory);
	
	public boolean deleteEquipmentCategory(EquipmentCategory equipmentCategory);

	/**
	 * 获取所有的EquipmentCategory
	 * 
	 * @return
	 */
	public List<EquipmentCategory> getAllEquipmentCategoryList();

	public EquipmentCategory getEquipmentCategoryById(long id);

	public EquipmentCategory getEquipmentCategoryByType(String type);
	
}
